<template>
  <div class="navigator">
      <router-link tag="div" class="navigator-link" to="/recommend">
          <span class="navigator-span">推荐</span>
      </router-link>
      <router-link tag="div" class="navigator-link" to="/rank">
        <span class="navigator-span">热榜歌曲</span>
      </router-link>
      <router-link tag="div" class="navigator-link" to="/singer">
        <span class="navigator-span">歌手</span>
    </router-link>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">
    @import "~common/stylus/variable"
    .navigator
      display: flex
      height: 44px
      line-height: 44px
      font-size: $font-size-medium
      .navigator-link
        flex: 1
        text-align: center
        background-color :$color-text-hui1
        .navigator-span
          padding-bottom: 5px
          color: $color-background
        &.router-link-active
          .navigator-span
            color: $color-huang-l
            border-bottom: 2px solid $color-huang-l
  </style>